using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries
{
    public interface ICustomerQueries
    {
        Task<Result<CustomerInfoResponseDto>?> GetCustomer(int id);

        Task<Result<IList<CustomerInfoResponseDto>?>> QueryCustomers(CustomerSearchRequestDto model);

        Task<PaginatedResult<CustomerInfoResponseDto>> QueryCustomersByPage(CustomerSearchRequestDto model);
    }
}